projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa9609
)
bootcount: Add include guards into bootcount.h file
author
Lukasz Majewski
<
[email protected]
>
Wed, 2 May 2018 14:10:51 +0000
(16:10 +0200)
committer
Tom Rini
<
[email protected]
>
Fri, 11 May 2018 00:37:05 +0000
(20:37 -0400)
This patch adds missing include guards for bootcount.h file.
Signed-off-by: Lukasz Majewski <
[email protected]
>
Reviewed-by: Stefan Roese <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
Reviewed-by: Alex Kiernan <
[email protected]
>
include/bootcount.h
patch
|
blob
|
history
diff --git
a/include/bootcount.h
b/include/bootcount.h
index 3eb802470a2b8bae55802b319c684c387981756a..c0a6b6e0e26c2e934cf317549b1bb84f71db4c5b 100644
(file)
--- a/
include/bootcount.h
+++ b/
include/bootcount.h
@@
-3,6
+3,8
@@
* (C) Copyright 2012
* Stefan Roese, DENX Software Engineering,
[email protected]
.
*/
+#ifndef _BOOTCOUNT_H__
+#define _BOOTCOUNT_H__
#include <common.h>
#include <asm/io.h>
@@
-37,3
+39,4
@@
static inline u32 raw_bootcount_load(volatile u32 *addr)
return in_be32(addr);
}
#endif
+#endif /* _BOOTCOUNT_H__ */